package cn.edu.scau.cmi.chenruilin.interProgramming;
import javafx.fxml.FXML;
import javafx.scene.control.Label;


public class Controller {
	@FXML
    private Label output;

	@FXML
    void initialize() {
		Student us = new UndergraduateStudent();
		String s1 = us.learning();
		Student gs = new GraduteStudent();
		String s2 = gs.learning();
		output.setText("本科生："+s1+"\n"+"研究生："+s2);
    }
}
